package com.gupaoedu.vip.mongo.explorer.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * 加载自定义配置
 */
@Data
@Component
@PropertySource("classpath:explorer-config.properties")
@ConfigurationProperties(prefix = "explorer")
public class ExplorerConfig {
    private String filesDepotDir;
    private String rootDir;
    private String usersRootDir;
    private String tempRootDir;
    private String publicRootDir;
    private String port;
}
